package org.xiji.mediator;

/**
 * 中介者接口
 */
public interface Mediator {

    /**
     * 注册
     */

    void register(User user);
    /**
     * 转发消息
     */
    void sendMessage(String msg, SendAndReceiveContain sendAndReceiveContain);
}
